package com.cloudkinto.service.product.vo.exportVo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

@Data
public class ProductInfoExportVo {
    @Excel(name = "客户SKU")
    private String commoditySku;
    @Excel(name = "仓库SKU")
    private String storageSku;
    @Excel(name = "产品名称(中)")
    private String productName;

    @Excel(name = "产品名称(日)")
    private String commodityName;
    @Excel(name = "产品类型", replace = {"普通产品_common","组合产品_combination","耗材_material"})
    private String typeOfProduct;

    @Excel(name = "upc")
    private String upc;

    @Excel(name = "fnSku")
    private String fnSku;

    @Excel(name = "长", type = 10)
    private float length;

    /**
     * 产品宽度
     */
    @Excel(name = "宽", type = 10)
    private float width;

    /**
     * 产品高度
     */
    @Excel(name = "高", type = 10)
    private float height;

    /**
     * 产品重量
     */
    @Excel(name = "重量", type = 10)
    private float weight;

    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd")
    private Date createTime;

}
